class Classtest():
    def __init__(self, name, age):
        self.name = name
        self.age = age

    def sit(self):
        print(self.name + "狗的名字")

    def roll_over(self, abc):
        for i in range(1, int(abc)):
            print(format(i) + "狗的年龄")

    def roll_over1(self):
        print("狗的年龄")
        return Classtest("小ssss王", "10")

#
# mydog = Classtest("小ssss王", "10")
# mydog.sit()
# mydog.roll_over("1")
